package com.biz.primus.ms.tms.dao.repository;


import com.biz.primus.model.tms.enums.DeliveryPriority;
import com.biz.primus.ms.base.jpa.repository.CommonJpaRepository;
import com.biz.primus.ms.tms.dao.po.DeliveryFeePo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 配送价格
 * Created by dylan on 17-1-20.
 */
@Repository
public interface DeliveryFeeRepository extends CommonJpaRepository<DeliveryFeePo, Long>, DeliveryFeeDao {

    List<DeliveryFeePo> findByDeliveryPriority(DeliveryPriority deliveryPriority);

}
